package com.systar.activity.report;

public enum RequestParameter
{
	action,
	source,
	status,
	parsing,
	user,
	password,
	force,
	;
	
	public static RequestParameter fromString(String paramName)
	{
		if (paramName == null)
			return null;
		for (RequestParameter param : RequestParameter.values())
		{
			if (param.name().compareToIgnoreCase(paramName) == 0)
				return param;
		}
		return null;
	}
	
	public boolean isSqlParameter()
	{
		return false; // no SQL parameter for now
	}
}
